package per.songyu.pj.activity.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import per.songyu.pj.activity.pojo.Activity;

import java.util.List;

@Mapper
public interface ActivityDAO {

    @Select("select * from tb_activity order by createdTime desc")
    List<Activity> findActivitys();
}
